package com.mybatis_plus.demo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lbb
 * @since 2018-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UrlLibrary extends Model<UrlLibrary> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Integer count;
    private String logoUrl;
    private String url;


    public static final String ID = "id";

    public static final String COUNT = "count";

    public static final String LOGO_URL = "logo_url";

    public static final String URL = "url";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
